import { createApp } from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import Vant from 'vant'
import 'vant/lib/index.css'
import axios from 'axios'
import VueAxios from "vue-axios"
import { Lazyload } from 'vant'
import { Button } from 'vant'
import { Image as VanImage } from 'vant';
import { Cell, CellGroup } from 'vant';
import { Popup } from 'vant';//弹出层
import { Dialog } from 'vant';//弹出框
import { Empty } from 'vant';//空状态
import { Col, Row } from 'vant';//Layout 提供了 van-row 和 van-col 两个组件来进行行列布局。
import { NavBar } from 'vant';//导航栏
import { Search } from 'vant';//搜索
import { PullRefresh } from 'vant';//下拉刷新
import { Uploader } from 'vant';//上传
import {Toast} from "vant";
import Vuex from 'vuex'

import VideoPlayer from 'vue-video-player/src'
import 'vue-video-player/src/custom-theme.css'
import 'video.js/dist/video-js.css'

createApp(App).use(PullRefresh).use(VideoPlayer).use(Vuex)
createApp(App).use(Toast).use(Uploader).use(PullRefresh).use(VideoPlayer)
    .use(Search).use(NavBar).use(Row).use(Col)
    .use(Empty).use(Dialog).use(Popup).use(Cell)
    .use(CellGroup).use(VanImage).use(store)
    .use(Button).use(Lazyload).use(router)
    .use(VueAxios,axios).use(Vant).mount('#app')

